package com.hjm.project.agentInfo.total.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 服务商信息统计对象 agent_total
 * 
 * @author LOVE
 * @date 2020-12-07
 */
public class AgentTotal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键-- seq_AGENT_TOTAL.nextval */
    private Long id;

    /** 服务商编号 */
    @Excel(name = "服务商编号")
    private String agentNum;

    /** 上级服务商编号 */
    @Excel(name = "上级服务商编号")
    private String belongAgent;

    /** 状态: 1活跃 2 沉默 */
    @Excel(name = "状态: 1活跃 2 沉默")
    private Long status;

    /** 月数为数字：1 代表1个月  2 代表两个月 依次类推 */
    @Excel(name = "月数为数字：1 代表1个月  2 代表两个月 依次类推")
    private Long silentMonth;

    /** 交易总金额（单位元） */
    @Excel(name = "交易总金额", readConverterExp = "单=位元")
    private String sumAmount;

    /** 注册日期 */
    @Excel(name = "注册日期")
    private String addDate;

    /** 校验时间 */
    @Excel(name = "校验时间")
    private String checkTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }


    public String getAgentNum() {
        return agentNum;
    }

    public void setAgentNum(String agentNum) {
        this.agentNum = agentNum;
    }

    public void setBelongAgent(String belongAgent)
    {
        this.belongAgent = belongAgent;
    }

    public String getBelongAgent()
    {
        return belongAgent;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setSilentMonth(Long silentMonth)
    {
        this.silentMonth = silentMonth;
    }

    public Long getSilentMonth()
    {
        return silentMonth;
    }
    public void setSumAmount(String sumAmount)
    {
        this.sumAmount = sumAmount;
    }

    public String getSumAmount()
    {
        return sumAmount;
    }
    public void setAddDate(String addDate)
    {
        this.addDate = addDate;
    }

    public String getAddDate()
    {
        return addDate;
    }
    public void setCheckTime(String checkTime)
    {
        this.checkTime = checkTime;
    }

    public String getCheckTime()
    {
        return checkTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentNum", getAgentNum())
            .append("belongAgent", getBelongAgent())
            .append("status", getStatus())
            .append("silentMonth", getSilentMonth())
            .append("sumAmount", getSumAmount())
            .append("addDate", getAddDate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("checkTime", getCheckTime())
            .toString();
    }
}
